import { BaseEntity, Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";

@Entity()
export class Access extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;

    @Column({
        type: 'varchar',
        length: 300
    })
    accessName: string;

    @Column({
        type: 'varchar',
        length: 300,
        nullable: true
    })
    remark: string;

    @CreateDateColumn()
    gmtCreate: string;

    @UpdateDateColumn()
    gmtModify: string;




}